<!DOCTYPE html>
<html lang="zh">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta content="telephone=no" name="format-detection">

<script type="text/javascript" src="__JS__/jquery.1.12.3.js"></script>

<body>
	<button id="dianji">asdasdasd</button>
</body>
<script>
    $(document).on('click','#dianji',function () {
        //var token=hex_md5('http://www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/index/Commodity/commodity_messageGroup');
        // var token_s=hex_md5(token+'NoBao');
        alert(22);
        $.ajax({
            type:"get",
            url:"http://www.importndsf.com/import_nbsm/nbsm_shopping/public/index.php/index/Commodity/commodity_message",
            data:{"id":1},
            dataType:"json",
            success:function (z) {
                alert(12313);
                if (z){
                    //document.write(z);
                    alert(1);
                }else {
                    alert("邮箱格式不正确，请重新填写")
                }
            }
        })
    });
</script>
</html>
